package cn.tedu.test.bean;

import org.springframework.beans.factory.annotation.Value;

public class Bean01 {
    @Value("${luban.user.password}")
    private String name;
    public Bean01() {
        System.out.println("bean01被容器加载了");
    }
    public void sayHi(String name){
        System.out.println("你好:"+name+",我是:"+this.name);
    }
}
